<SCRIPT type="text/javascript">


etoile_rouge_url='./images/red_star.gif';
etoile_rose_url='./images/pink_star.gif';


function StarOver(Champ,StarNb){
        for(i=1;i<6;i++) {
        document.getElementById(Champ+'Star'+i).src=etoile_rose_url;
        }
        for(i=1;i<StarNb+1;i++) {
        document.getElementById(Champ+'Star'+i).src=etoile_rouge_url;
        }
}

function StarOut(Champ,StarNb) {
Note=parseInt(document.getElementById(Champ).value);

                if(document.getElementById(Champ).value){
                        for(i=1;i<6;i++) {
                        document.getElementById(Champ+'Star'+i).src=etoile_rose_url;
                        }
                        for(i=1;i<Note+1;i++) {
                        document.getElementById(Champ+'Star'+i).src=etoile_rouge_url;
                        }
                }else{
                        for(i=1;i<6;i++) {
                        document.getElementById(Champ+'Star'+i).src=etoile_rose_url;
                        }
                }
}
function StarClick(Champ,StarNb) {
        for(i=1;i<StarNb+1;i++) {
        document.getElementById(Champ+'Star'+i).src=etoile_rouge_url;
        }
        document.getElementById('Td_'+Champ).innerHTML=StarNb+'/5';
        document.getElementById(Champ).value=StarNb;
}
</SCRIPT>